package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.BalanceDetailBean;
import com.mz.ozy.bean.BankListFBean;
import com.mz.ozy.bean.ReceiveAccountBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class ReceiveAccountContract {
    public interface View extends BaseView {
        void saveAccountSuccess(BalanceDetailBean bean);

        void queryAccountSuccess(ReceiveAccountBean bean);

        void onGetBankSuccess(BankListFBean o);

        void bindInfo(JSONObject bean);
    }

    public interface Presenter extends BasePresenter<View> {
        void saveAccount(Activity activity, String name, String ali, String wechat, String bank_id, String bank_name, String bank_account, String et_code);

        void queryAccount(Context context);

        void getBank(Context context);

        void getBIndInfo(Context context,String type,String id);

    }


}
